216
a:4:{s:8:"template";a:2:{s:53:"E:/xampp/htdocs/rbac/Admin/Tpl/Authority/setRole.html";b:1;s:29:"../Common/head_authority.html";b:1;}s:9:"timestamp";i:1522141202;s:7:"expires";i:1522141205;s:13:"cache_serials";a:0:{}}<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>权限</title>
    <link href="http://localhost/rbac/Admin/Tpl/Public/css/bootstrap.min.css" type="text/css" rel="stylesheet"/>
    <link href="http://localhost/rbac/Admin/Tpl/Public/css/admin-authority.css" type="text/css" rel="stylesheet"/>
    <script src="http://localhost/rbac/Admin/Tpl/Public/js/jquery-3.2.1.min.js"></script>
    <script src="http://localhost/rbac/Admin/Tpl/Public/js/bootstrap.min.js"></script>
</head><body>
<div class="container-fluid">
    <div class="row" style="margin: 20px 0px;">
        <b>设置<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>localhost</title>
</head>
<style>
    .box{
        width: 96%;
        height: auto;
        padding: 15px;
        margin: 10px 2%;
        border: 1px solid #333333;
    }
    .box p{
        line-height: 30px;
    }
    .blue{
        color: #3489ff;
    }

</style>
<body>
    <div class="box">
        <b style="font-size: 18px;">Undefined index: name</b>
        <p>
            Severity:&nbsp;8        </p>
        <p>
            File:&nbsp;E:\xampp\htdocs\rbac\Temp\Admin\Compile\%%E0^E01^E011210A%%setRole.html.php        </p>
        <p>
            Line:&nbsp;11        </p>
        <p class="blue">
            LAUWENPHP框架版本:&nbsp;1.0            <a href="https://gitee.com/lauwen" style="color:#666" target="_blank">更多</a>
        </p>
    </div>

</body>
</html>权限</b>
        <a href="javascript:history.back();" style="float: right;">返回</a>
    </div>
    <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;">
        <div class="col-sm-offset-1 col-md-offset-1 col-lg-offset-1 col-sm-5 col-md-5 col-lg-5">
            <input type="checkbox" id="checkAll" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
            <label style="line-height: 35px;margin-bottom: 0px;">全选</label>
        </div>
    </div>
    <form action="#" method="post">
                <div class="row" style="height: 35px;line-height:35px;margin-top: 25px;margin-bottom: 5px;">
            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                <b style="line-height: 35px;margin-bottom: 0px;">权限</b>
            </div>
        </div>
                                                                    <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 35px;">
                        <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                            <input type="checkbox" name="aid[]" value="9" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                            <label style="line-height: 35px;margin-bottom: 0px;">用户管理</label>
                        </div>
                    </div>
                                                                                                                        <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="12" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">添加用户</label>
                            </div>
                        </div>
                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="13" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">编辑用户</label>
                            </div>
                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 35px;">
                        <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                            <input type="checkbox" name="aid[]" value="10" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                            <label style="line-height: 35px;margin-bottom: 0px;">角色管理</label>
                        </div>
                    </div>
                                                                                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="14" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">添加角色</label>
                            </div>
                        </div>
                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="15" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">编辑角色</label>
                            </div>
                        </div>
                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="16" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">设置角色权限</label>
                            </div>
                        </div>
                                                                                                                                                                                                                                                                                                                                                                                            <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 35px;">
                        <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                            <input type="checkbox" name="aid[]" value="11" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                            <label style="line-height: 35px;margin-bottom: 0px;">权限管理</label>
                        </div>
                    </div>
                                                                                                                                                                                                                                                                                                            <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="17" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">添加权限</label>
                            </div>
                        </div>
                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="18" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">编辑权限</label>
                            </div>
                        </div>
                                                                                                                                                                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="33" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">删除权限</label>
                            </div>
                        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row" style="height: 35px;line-height:35px;margin-top: 25px;margin-bottom: 5px;">
            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                <b style="line-height: 35px;margin-bottom: 0px;">栏目</b>
            </div>
        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 35px;">
                        <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                            <input type="checkbox" name="aid[]" value="27" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                            <label style="line-height: 35px;margin-bottom: 0px;">栏目管理</label>
                        </div>
                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="29" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">删除栏目</label>
                            </div>
                        </div>
                                                                                                                                                                    <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="31" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">编辑栏目</label>
                            </div>
                        </div>
                                                                                                                                                                    <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 35px;">
                        <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                            <input type="checkbox" name="aid[]" value="28" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                            <label style="line-height: 35px;margin-bottom: 0px;">添加栏目</label>
                        </div>
                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <div class="row" style="height: 35px;line-height:35px;margin-top: 25px;margin-bottom: 5px;">
            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                <b style="line-height: 35px;margin-bottom: 0px;">文章</b>
            </div>
        </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 35px;">
                        <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                            <input type="checkbox" name="aid[]" value="24" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                            <label style="line-height: 35px;margin-bottom: 0px;">文章管理</label>
                        </div>
                    </div>
                                                                                                                                                                                                                                                                                                                                                                                    <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="26" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">删除文章</label>
                            </div>
                        </div>
                                                                                                                                                                    <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 65px;">
                            <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                                <input type="checkbox" name="aid[]" value="30" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                                <label style="line-height: 35px;margin-bottom: 0px;">编辑文章</label>
                            </div>
                        </div>
                                                                                                                                                                                                        <div class="row" style="height: 35px;line-height:35px;margin-top: 5px;padding-left: 35px;">
                        <div class="col-sm-offset-2 col-md-offset-2 col-lg-offset-2 col-sm-5 col-md-5 col-lg-5">
                            <input type="checkbox" name="aid[]" value="25" style="display: inline-block;vertical-align: middle;margin-bottom: 5px;margin-right: 10px;"/>
                            <label style="line-height: 35px;margin-bottom: 0px;">添加文章</label>
                        </div>
                    </div>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <div class="row" style="height: 35px;line-height: 35px;margin-top: 15px;">
            <div class="col-sm-4 col-md-4 col-lg-4" style="text-align: right"></div>
            <div class="col-sm-3 col-md-3 col-lg-3">
                <button type="submit" id="aa" class="btn btn-primary pull-right">保存</button>
            </div>
        </div>
    </form>

    <script>
        $("#checkAll").click(function(){
            if(this.checked){
                $('input:checkbox').each(function(){
                    if(!this.checked){
                        $(this).attr('checked', true);
                    }
                })
            }else{
                $('input:checkbox').each(function(){
                    if(this.checked){
                        $(this).attr('checked', false);
                    }
                })
            }
        })
        $("#aa").click(function(){
            $("[name='aid']").each(function(){
                if(this.checked){
                    alert($(this).val());
                }
            })
        })
    </script>


</body>
</html>